package com.candy.candymessagerpc.config;

import com.candy.candymessagerpc.bean.SendException;
import com.candy.candymessagerpc.bean.StartedEvent;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/6/6 13:12
 * @Description 描述
 */
@Data
@ConfigurationProperties(prefix = "rpc.message")
//@ConditionalOnProperty(prefix = "rpc", name = "message.sendException.enable", havingValue = "true", matchIfMissing = false)
public class RpcMessageProperty {

    private SendException sendException;

    private StartedEvent startedEvent;

}
